<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
		  content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Document</title>
</head>
<body>

<div th:fragment="welcome">
	<div title="首页" style="background-color:grey;padding:20px;overflow:hidden; color:white; ">
		<p style="font-size: 15px; line-height: 40px; height: 40px;" th:if="${session.usertype == '1'}" th:text="${session.admin.username}+'欢迎使用学生管理系统'"></p>
		<p style="font-size: 15px; line-height: 40px; height: 40px;" th:if="${session.usertype == '2'}" th:text="${session.student.username}+'欢迎使用学生管理系统'"></p>
		<p style="font-size: 15px; line-height: 40px; height: 40px;" th:if="${session.usertype == '3'}" th:text="${session.teacher.username}+'欢迎使用学生管理系统'"></p>
		<p style="font-size: 15px; line-height: 40px; height: 40px;">前端UI模板采用EasyUI+Thymeleaf</p>
		<p style="font-size: 15px; line-height: 40px; height: 40px;">后端技术框架采用SpringBoot+Mybatis+Maven</p>
		<p style="font-size: 15px; line-height: 40px; height: 40px;">数据库采用Mysql5.7</p>
	</div>
</body>
</html>
